/*
 *  WaveFunctionSinPowerOfX.h
 *  SoundController0002
 *
 *  Created by jiro on 10/11/20.
 *  Copyright 2010 jiro music. All rights reserved.
 *
 */

#pragma once

#include "WaveFunction.h"
#include "Line.h"

namespace sc { 

	class WaveFunctionSinPowerOfX : public WaveFunction 
	{

		friend class WaveFunctionFactory;

	private:
	
		double powerOfX;
		
	public:
	
		double operator() ( double x ) const;
		
		bool operator == ( const WaveFunction& rhs ) const;
		
		bool operator != ( const WaveFunction& rhs ) const;
		
		bool operator < ( const WaveFunction& rhs ) const;

	private:
	
		WaveFunctionSinPowerOfX( double powerOfX, double cycle );
		
	};

}
